﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

using GE;
using GE.Font;

namespace GE.Objects
{
    public class Castle : Character
    {
        public Castle(String name, String comment, Vector2 pos)
        {
            this.name = name;
            this.comment = comment;
            this.pos = pos;

            this.hitpoint = 2000;
            this.maxhitpoint = 2000;
            this.atk = 30;
            this.def = 10;
            this.speed = 0;

            this.level = 40;
            this.size = 64;
        }

        /*
        //assume begin
        public override void Draw(SpriteBatch spriteBatch)
        {
            //draw name
            FreetypeFont.DrawString(spriteBatch, name,
                pos + new Vector2(0, -20),
                64, Color.White);

            //draw level
            Vector2 offset = pos + new Vector2(50, -90);
            foreach (char ch in comment)
            {
                FreetypeChar fc = FreetypeFont.getFont(8).getTexture(ch);
                spriteBatch.Draw(fc.tex, offset + new Vector2(fc.bitmap.bitmap_left, -fc.bitmap.bitmap_top), Color.White);
                offset.X += fc.bitmap.advance_x >> 6;
                offset.Y += fc.bitmap.advance_y >> 6;
            }
        }
         * */
    }
}
